<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>

<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>

<html:html lang="true">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title><bean:message key="welcome.title"/></title>
        <html:base/>
    </head>
    <body style="background-color: white">
      <br><br><br>

        <div align="center" >
            La synchronisation ave  LDAP a résulté en:
        <br>
        Nombre de comptes ajouté avec succès: <bean:write name="i"/>
        <br>
        Liste des comptes
        <table>
        <logic:iterate name="result" id="compte">
            <tr>
	<td><bean:write name="compte" property="apogee"/></td>
        <td><bean:write name="compte" property="uid"/></td>
        <td><bean:write name="compte" property="cne"/></td>
	<td><bean:write name="compte" property="nom"/></td>
        <td><bean:write name="compte" property="prenom"/></td>
        <td><bean:write name="compte" property="etab"/></td>
        </tr>
        </logic:iterate>
        </table>
        <br>
        <html:link action="/Sync/menuPrincipalSync.do">Menu principal de synchronisation</html:link>
        <br>

        </div>
        </body>
</html:html>
